﻿@{
    ViewBag.Title = "LoadFtps";
}
@using WebClientPlatform.Models
@model IList<WebClientPlatform.Models.FtpModel>
<h2>
    ftps-TCSmartFramework.DataAccess.config </h2>
@if (Model != null)
{
    <table>
        <thead>
            <tr>
                <th>
                    名称
                </th>
                <th>
                    IP
                </th>
                <th>
                    帐号
                </th>
                <th>
                    密码
                </th>
                <th>
                    基址
                </th>
                @*<th>
                    文件名
                </th>*@
                <th>
                    负责人
                </th>
                <th>
                    小组
                </th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    <td>
                        <a href='@Url.Action("LoadFtpFile", item)'>@item.Name</a>
                    </td>
                    <td>@item.IP
                    </td>
                    <td>@item.UserId
                    </td>
                    <td>
                        @item.Password
                    </td>
                    <td title="@item.RemotePath">@item.RemotePath
                    </td>
                   @* <td>@item.FileName
                    </td>*@
                    <td>@item.Leader
                    </td>
                    <td>@item.Group
                    </td>
                </tr>
           
            }
        </tbody>
    </table>
}
